namespace Comms.Drt {
    public class ClientResourceRequestMessage : Message {
        public string Name;

        public int MinimumVersion;

        public override void Read(Reader reader) {
            Name = reader.ReadString();
            MinimumVersion = reader.ReadInt32();
        }

        public override void Write(Writer writer) {
            writer.WriteString(Name);
            writer.WriteInt32(MinimumVersion);
        }
    }
}